import request from '@/utils/request'

// 查询fo_foreclosed_house_bookingorder列表
export function listForeclosed_house_bookingorder(query) {
  return request({
    url: '/yipaiju/foreclosed_house_bookingorder/list',
    method: 'get',
    params: query
  })
}

// 查询fo_foreclosed_house_bookingorder详细
export function getForeclosed_house_bookingorder(id) {
  return request({
    url: '/yipaiju/foreclosed_house_bookingorder/' + id,
    method: 'get'
  })
}

// 新增fo_foreclosed_house_bookingorder
export function addForeclosed_house_bookingorder(data) {
  return request({
    url: '/yipaiju/foreclosed_house_bookingorder',
    method: 'post',
    data: data
  })
}

// 修改fo_foreclosed_house_bookingorder
export function updateForeclosed_house_bookingorder(data) {
  return request({
    url: '/yipaiju/foreclosed_house_bookingorder',
    method: 'put',
    data: data
  })
}

// 删除fo_foreclosed_house_bookingorder
export function delForeclosed_house_bookingorder(id) {
  return request({
    url: '/yipaiju/foreclosed_house_bookingorder/' + id,
    method: 'delete'
  })
}
